package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 药品审核对象 ai_drug_verify
 * 
 * @author wmb
 * @date 2020-08-27
 */
public class DrugVerify extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 编码 */
    @Excel(name = "编码")
    private String code;

    /** 药品id */
    @Excel(name = "药品id")
    private Long drugId;

    /** 药品名称 */
    @Excel(name = "药品名称")
    private String drugName;

    /** 入院记录id */
    @Excel(name = "入院记录id")
    private Long admissionId;

    /** 审核结果 */
    @Excel(name = "审核结果")
    private Integer verify;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date verifyTime;

    /** 审核人 */
    @Excel(name = "审核人")
    private Long verifyBy;

    private String remark;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setDrugId(Long drugId) 
    {
        this.drugId = drugId;
    }

    public Long getDrugId() 
    {
        return drugId;
    }
    public void setDrugName(String drugName) 
    {
        this.drugName = drugName;
    }

    public String getDrugName() 
    {
        return drugName;
    }
    public void setAdmissionId(Long admissionId) 
    {
        this.admissionId = admissionId;
    }

    public Long getAdmissionId() 
    {
        return admissionId;
    }
    public void setVerify(Integer verify) 
    {
        this.verify = verify;
    }

    public Integer getVerify() 
    {
        return verify;
    }
    public void setVerifyTime(Date verifyTime) 
    {
        this.verifyTime = verifyTime;
    }

    public Date getVerifyTime() 
    {
        return verifyTime;
    }
    public void setVerifyBy(Long verifyBy) 
    {
        this.verifyBy = verifyBy;
    }

    public Long getVerifyBy() 
    {
        return verifyBy;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("drugId", getDrugId())
            .append("drugName", getDrugName())
            .append("admissionId", getAdmissionId())
            .append("verify", getVerify())
            .append("verifyTime", getVerifyTime())
            .append("verifyBy", getVerifyBy())
            .toString();
    }
}
